package com.wu.ssm.study.adaptor.oppAdapter;

/**
 * Created by wzf on 2018/11/9/009.
 */
public class PowerAdaptor implements JP110VInterface {

    private CN220VInterface cn220VInterface;//用220V接口进行适配

    PowerAdaptor(CN220VInterface cn220VInterface){
        this.cn220VInterface=cn220VInterface;
    }

    @Override
    public void connect() {
        cn220VInterface.connect();
    }
}
